Skip to content

New row source#145

Open
jonross wants to merge 35 commits into
mainfrom
new-row-source
Open

New row source#145
jonross wants to merge 35 commits into
mainfrom
new-row-source

Conversation

@jonross
Copy link
Copy Markdown
Owner

@jonross jonross commented May 17, 2026

No description provided.

jonross and others added 30 commits May 12, 2026 08:54
…arent scenarios

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Includes service_labels and deployment_labels, test fixtures and
tests, kubectl mock updates, and docs/builtins.rst entries.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…query

The old masthead required custom label configuration and was specific to
ML/GPU workloads. The new example needs no configuration, joins pods and
nodes to show per-node memory pressure, uses the synthesized status column
to catch init-phase pods, and includes a working kubectl+jq equivalent that
honestly illustrates the footguns: pipe-scope bugs, argv overflow on large
clusters, memory suffix parsing, and the absence of to_size() formatting.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- -c/--cache → -s/--stale
- -u/--update → -r/--refresh
- -r/--reckless → -q/--quiet (and reckless: → quiet: in settings)
- -c is now free for --context (Kubernetes context switching)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pass -c/--context to KubernetesResource so kubectl calls include
--context <name>, and use it as the cache path prefix instead of
reading the active kubeconfig context.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace ^ parent-hop syntax with named scope references. Multi-step
row_source entries must carry 'as <name>', and column paths/labels must
be prefixed with a declared scope name. Single-step tables are unchanged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Centralizes the scope-prefix detection logic that was inline in
UserColumn.rebuild_for_scope, making FieldRef the single place
responsible for splitting a scoped expression into name + target.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Mirrors the 'as <name>' suffix in row_source declarations — 'as' binds,
'in' references. Eliminates ambiguity when scope prefixes and label DNS
domains collide (e.g. 'pod.karpenter.sh/nodepool').

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jonross and others added 5 commits May 17, 2026 11:44
'from: domain/key' resolves as a label extractor; 'from: jmespath.expr'
resolves as a path extractor.  Both support the 'in <scope>' suffix for
multi-step row_source tables.  path: and label: remain fully supported.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace ^ parent-hop syntax with as/in named scope syntax throughout
docs and CLAUDE.md; add from: auto-detection description; bump CHANGELOG
to 0.9.0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant